﻿using PGMHelper;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace OpenSEES_Json
{
    public partial class TestForm : Form
    {
        public TestForm()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            //初始化文件路径
            string filePath = string.Empty;
            //选择文件
            if (!WilsonHelper.OpenFile("文本文档(*.txt)|*.txt|所有文件(*.*)|*.*",
                ref filePath))
                return;
            var jsonobj = OpenSEESInfomation.FromJson(filePath);
        }
    }
}
